'use strict';

const mountRouterMap = require("./utils/mountRouterMap");

const Home = {
	controllerMethodPath: "/home",
	mountPath: "/api/v1/homes",
	mount: {
		get: [
			["index", ""]
		]
	}
}


const routerMap = {
	Home
}


module.exports = app => {
	const { router, controller } = app;
	mountRouterMap(router, controller, routerMap);
	router.resources('dictionaries', '/api/v1/dictionaries', controller.front.dictionary)
};
